package com.cs.cssupplier.service.impl;


import com.cs.cssupplier.domain.CsAccess;
import com.cs.cssupplier.domain.CsAccessories;
import com.cs.cssupplier.mapper.CsAccessoriesMapper;
import com.cs.cssupplier.service.CsAccessoriesService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

/**
* @author admin
* @description 针对表【cs_accessories(相关附件表)】的数据库操作Service实现
* @createDate 2024-11-11 16:40:47
*/
@Service
public class CsAccessoriesServiceImpl implements CsAccessoriesService {
    @Resource
    private CsAccessoriesMapper mapper;

    @Override
    public CsAccessories selectCsAccessoriesfjId(Long fjId) {
        return mapper.selectCsAccessoriesfjId(fjId);
    }

    @Override
    public List<CsAccessories> selectAccessoriesList(CsAccessories csAccessories) {
        return mapper.selectAccessoriesList(csAccessories);
    }

    @Override
    public int addAccessories(CsAccessories csAccessories) {
        return mapper.addAccessories(csAccessories);
    }

    @Override
    public int updateAccessories(CsAccessories csAccessories) {
        return mapper.updateAccessories(csAccessories);
    }

    @Override
    public int deleteAccessories(Long fjId) {
        return mapper.deleteAccessories(fjId);
    }

    @Override
    public int deleteListAccessories(Long[] fjIds) {
        return mapper.deleteListAccessories(fjIds);
    }
}




